package com.longmao.educms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author longmao
 * @date 2022/2/11 14:27
 * Content:
 */
@SpringBootApplication
@ComponentScan({"com.longmao"}) //指定扫描位置
@MapperScan("com.longmao.educms.mapper")
public class CmsApplication {

    public static void main(String[] args) {
        SpringApplication.run(CmsApplication.class, args);
    }
}
